import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;


public class VendingMachineTest {
	private static final int Balance = 0;
	private static final String candyBarVendor = null;
	private Object JUICE_PRICE;
	private Object CANDY_BAR_PRICE;
	private VendingMachine sodaVendor;
	private Object returnbalance() {
		return null;
	}

	public void VendingMachine(int itemCost)
	{
		int currentBalance = 0;
		int totalCollected = 0;
	}
	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	//get the soda price//
	public void setUp1()
		{
		    Object SODA_PRICE = null;
			VendingMachine sodaVendor = new VendingMachine(extracted(SODA_PRICE));
		}
	private Object extracted(Object SODA_PRICE) {
		return SODA_PRICE;
	}

	@Test
	public void TearDown() 
		{
		    Object sodaVendor = null;
		    Object candyBarVendor = null;
		
	}
		
	@Test
	public void testVendingMachine() {
		VendingMachine sodaVendor = new VendingMachine();
		VendingMachine candyBarVendor = new VendingMachine();
	}

	@Test
	//add item to slot//
	public void testAddItem() {		
	VendingMachine candybar = new VendingMachine ("candybar,2")	;
	assertEquals("Candy bar costs " + CANDY_BAR_PRICE, 
	        CANDY_BAR_PRICE, 
	VendingMachine.additem());
		
	}

	@Test
	//get item from slot//
		public void testGetItem()
		{
		        		    assertEquals("Candy bar costs " + CANDY_BAR_PRICE, 
		        CANDY_BAR_PRICE, 
		        VendingMachine.getItem());
		}

	@Test
	//remove item from slot//
	public void testRemoveItem()
		{
		    assertEquals("Candy bar costs " + CANDY_BAR_PRICE, 
      CANDY_BAR_PRICE, 
     VendingMachine.removeItem());
}	
	

	@Test
	// it will allow you to insert money//
	public void testInsertMoney(int faceValue)
		{
		   int  money ;
	}

	@Test
	//it will let you know your balance//
	public void testGetBalance() 
		{
		    returnBalance();
		}
		

	@Test
	//here make purchase//
		public void dispenseItem(Object sodaVendor)
		{
		int itemPrice;
		if (Balance >= itemPrice)
		{
			Balance = Balance - itemPrice;
		}
		else 
		{
		
		    System.out.println("Please insert more money  at least a value of " +
		                               (itemPrice - Balance) + ".");
		}                	
		
	@Test
	//this will refund the change //
		public int returnBalance()
		{
		    		    Object returnbalance = returnbalance();
						return 0;
	}

}


